import fetch from 'common/src/utils/fetch';

/**
 *新增
 */
function add(data) {
    return fetch({
        url: '/api/electionservice/graduateMakeUpExamAuth/addMakeUpAuth',
        method: 'post',
        data: data
    });
}

/**
 *编辑权限
 */
function edit(data) {
    return fetch({
        url: '/api/electionservice/graduateMakeUpExamAuth/editMakeUpAuth',
        method: 'post',
        data: data
    });
}

/**
 *删除权限
 */
function del(data) {
    return fetch({
        url: '/api/electionservice/graduateMakeUpExamAuth/deleteMakeUpAuth',
        method: 'post',
        data: data
    });
}

/**
 *列表
 */
/* function listMakeUpAuth(data) {
    return fetch({
        url: '/api/electionservice/graduateMakeUpExamAuth/listMakeUpAuth',
        method: 'post',
        data: data
    });
} */

const pageUrl = '/api/electionservice/graduateMakeUpExamAuth/listMakeUpAuth';

export default {
    add: add,
    edit: edit,
    del: del,
    pageUrl: pageUrl
};
